package com.ruoyi.prodata.service.impl;

import com.ruoyi.prodata.mapper.OrderStatisticsMapper;
import com.ruoyi.prodata.service.IOrderStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 *
 */
@Service
public class OrderStatisticsServiceImpl implements IOrderStatisticsService {

    @Autowired
    private OrderStatisticsMapper orderStatisticsMapper;

    @Override
    public List<Map<String, Object>> getOrderStatistics(Long projectId) {
        return orderStatisticsMapper.getOrderStatistics(projectId);
    }
}
